package com.ruoyi.swla2.domain;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * GIS管网-管点对象 gis_point
 *
 * @author gdqt
 * @date 2023-11-26
 */
public class GisPoint extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 自增ID
     */
    private Long id;

    /**
     * 租户ID
     */
    private String tenantId;

    /**
     * 图层ID
     */
    @Excel(name = "图层ID")
    private Integer layerId;

    /**
     * 设施类别,如水表、阀门、消防栓、排气阀、排泥阀、水表、测压点等
     */
    @Excel(name = "设施类别,如水表、阀门、消防栓、排气阀、排泥阀、水表、测压点等")
    private String scode;

    /**
     * 点号，此项以JS(给水)，YS(原水)，PS(排水)开头，后加编号数据，例如“JS18001”
     */
    @Excel(name = "点号，此项以JS(给水)，YS(原水)，PS(排水)开头，后加编号数据，例如“JS18001”")
    private String expNo;

    /**
     * 设施编号
     */
    @Excel(name = "设施编号")
    private String pno;

    /**
     * 设施名称
     */
    @Excel(name = "设施名称")
    private String feature;

    /**
     * 位置
     */
    @Excel(name = "位置")
    private String address;

    /**
     * 材质
     */
    @Excel(name = "材质")
    private String meterial;

    /**
     * 规格
     */
    @Excel(name = "规格")
    private String spec;

    /**
     * 埋深
     */
    @Excel(name = "埋深")
    private Double deep;

    /**
     * X坐标
     */
    @Excel(name = "X坐标")
    private Double x;

    /**
     * Y坐标
     */
    @Excel(name = "Y坐标")
    private Double y;

    /**
     * 高程
     */
    @Excel(name = "高程")
    private Double h;

    /**
     * 旋转角度
     */
    @Excel(name = "旋转角度")
    private Double rotang;

    /**
     * 总需水量
     */
    @Excel(name = "总需水量")
    private Double demand;

    /**
     * 图幅号
     */
    @Excel(name = "图幅号")
    private String mapnumber;

    /**
     * 建设日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "建设日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date mdate;

    /**
     * 所在道路
     */
    @Excel(name = "所在道路")
    private String road;

    /**
     * 开关状态
     */
    @Excel(name = "开关状态")
    private String onoff;

    /**
     * 目前状况
     */
    @Excel(name = "目前状况")
    private String status;

    /**
     * 是否安装
     */
    @Excel(name = "是否安装")
    private String setup;

    /**
     * 详情
     */
    @Excel(name = "详情")
    private String detail;

    /**
     * 闸门种类
     */
    @Excel(name = "闸门种类")
    private String kind;

    /**
     * 井深
     */
    @Excel(name = "井深")
    private Double wdeep;

    /**
     * 钥匙型号
     */
    @Excel(name = "钥匙型号")
    private String keytype;

    /**
     * 路面类型
     */
    @Excel(name = "路面类型")
    private String roadtype;

    /**
     * 生产厂家
     */
    @Excel(name = "生产厂家")
    private String maker;

    /**
     * 入库日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "入库日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date surDate;

    /**
     * 更新日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "更新日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date dbDate;

    /**
     * 工程号
     */
    @Excel(name = "工程号")
    private String pId;

    /**
     * 阀门是否失效，0否，1是
     */
    @Excel(name = "阀门是否失效，0否，1是")
    private Integer valveBroken;

    /**
     * 坐标数据
     */
    @Excel(name = "坐标数据")
    private String geom;

    /**
     * 是否删除，0否，1是
     */
    private Integer izDeleted;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getTenantId() {
        return tenantId;
    }

    public void setTenantId(String tenantId) {
        this.tenantId = tenantId;
    }

    public Integer getLayerId() {
        return layerId;
    }

    public void setLayerId(Integer layerId) {
        this.layerId = layerId;
    }

    public String getScode() {
        return scode;
    }

    public void setScode(String scode) {
        this.scode = scode;
    }

    public String getExpNo() {
        return expNo;
    }

    public void setExpNo(String expNo) {
        this.expNo = expNo;
    }

    public String getPno() {
        return pno;
    }

    public void setPno(String pno) {
        this.pno = pno;
    }

    public String getFeature() {
        return feature;
    }

    public void setFeature(String feature) {
        this.feature = feature;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getMeterial() {
        return meterial;
    }

    public void setMeterial(String meterial) {
        this.meterial = meterial;
    }

    public String getSpec() {
        return spec;
    }

    public void setSpec(String spec) {
        this.spec = spec;
    }

    public Double getDeep() {
        return deep;
    }

    public void setDeep(Double deep) {
        this.deep = deep;
    }

    public Double getX() {
        return x;
    }

    public void setX(Double x) {
        this.x = x;
    }

    public Double getY() {
        return y;
    }

    public void setY(Double y) {
        this.y = y;
    }

    public Double getH() {
        return h;
    }

    public void setH(Double h) {
        this.h = h;
    }

    public Double getRotang() {
        return rotang;
    }

    public void setRotang(Double rotang) {
        this.rotang = rotang;
    }

    public Double getDemand() {
        return demand;
    }

    public void setDemand(Double demand) {
        this.demand = demand;
    }

    public String getMapnumber() {
        return mapnumber;
    }

    public void setMapnumber(String mapnumber) {
        this.mapnumber = mapnumber;
    }

    public Date getMdate() {
        return mdate;
    }

    public void setMdate(Date mdate) {
        this.mdate = mdate;
    }

    public String getRoad() {
        return road;
    }

    public void setRoad(String road) {
        this.road = road;
    }

    public String getOnoff() {
        return onoff;
    }

    public void setOnoff(String onoff) {
        this.onoff = onoff;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getSetup() {
        return setup;
    }

    public void setSetup(String setup) {
        this.setup = setup;
    }

    public String getDetail() {
        return detail;
    }

    public void setDetail(String detail) {
        this.detail = detail;
    }

    public String getKind() {
        return kind;
    }

    public void setKind(String kind) {
        this.kind = kind;
    }

    public Double getWdeep() {
        return wdeep;
    }

    public void setWdeep(Double wdeep) {
        this.wdeep = wdeep;
    }

    public String getKeytype() {
        return keytype;
    }

    public void setKeytype(String keytype) {
        this.keytype = keytype;
    }

    public String getRoadtype() {
        return roadtype;
    }

    public void setRoadtype(String roadtype) {
        this.roadtype = roadtype;
    }

    public String getMaker() {
        return maker;
    }

    public void setMaker(String maker) {
        this.maker = maker;
    }

    public Date getSurDate() {
        return surDate;
    }

    public void setSurDate(Date surDate) {
        this.surDate = surDate;
    }

    public Date getDbDate() {
        return dbDate;
    }

    public void setDbDate(Date dbDate) {
        this.dbDate = dbDate;
    }

    public String getpId() {
        return pId;
    }

    public void setpId(String pId) {
        this.pId = pId;
    }

    public Integer getValveBroken() {
        return valveBroken;
    }

    public void setValveBroken(Integer valveBroken) {
        this.valveBroken = valveBroken;
    }

    public String getGeom() {
        return geom;
    }

    public void setGeom(String geom) {
        this.geom = geom;
    }

    public Integer getIzDeleted() {
        return izDeleted;
    }

    public void setIzDeleted(Integer izDeleted) {
        this.izDeleted = izDeleted;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("tenantId", getTenantId())
                .append("layerId", getLayerId())
                .append("scode", getScode())
                .append("expNo", getExpNo())
                .append("pno", getPno())
                .append("feature", getFeature())
                .append("address", getAddress())
                .append("meterial", getMeterial())
                .append("spec", getSpec())
                .append("deep", getDeep())
                .append("x", getX())
                .append("y", getY())
                .append("h", getH())
                .append("rotang", getRotang())
                .append("demand", getDemand())
                .append("mapnumber", getMapnumber())
                .append("mdate", getMdate())
                .append("road", getRoad())
                .append("onoff", getOnoff())
                .append("status", getStatus())
                .append("setup", getSetup())
                .append("detail", getDetail())
                .append("kind", getKind())
                .append("wdeep", getWdeep())
                .append("keytype", getKeytype())
                .append("roadtype", getRoadtype())
                .append("maker", getMaker())
                .append("surDate", getSurDate())
                .append("dbDate", getDbDate())
                .append("pId", getpId())
                .append("remark", getRemark())
                .append("valveBroken", getValveBroken())
                .append("geom", getGeom())
                .append("createTime", getCreateTime())
                .append("updateTime", getUpdateTime())
                .append("izDeleted", getIzDeleted())
                .toString();
    }
}
